BlockState

interface BlockState

Inheritors

Types

Link copied to clipboard
data class Error(val type: BlockState.Error.Type) : BlockState

There's an error preventing rendering.

Link copied to clipboard
data class Pending(@FloatRange(from = 0.0, to = 1.0) val progress: Float) : BlockState

There is an ongoing operation on the block. Rendering may be affected.

Link copied to clipboard
object Ready : BlockState

The block is ready to be rendered.